<?php

namespace app\index\model;

use think\Model;
use  think\Db;
class Vehicle extends Model
{

    /**
     * 判断Vehicleid是否重复
     * @param $DeriverId
     * @return int|string
     */
    public static function isRepeatVehicleId($VehicleId)
    {
        return Db::table('tb_vehicle')->where(['vehicle_id'=>$VehicleId])->count();
    }
}
